package com.ruoyi.t2;

import java.math.BigDecimal;

/**
 * @author cql
 */
class Apple implements Fruit {

    private BigDecimal price;

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "Apple{" +
                "price=" + price +
                '}';
    }
}